package com.yangdada.enums;

public enum DateHourSearchEnum {
    DATE_SEARCH(0, "日期查询"),
    HOUR_SEARCH(1, "小时查询");

    private Integer code;
    private String desc;

    DateHourSearchEnum(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }
    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
